﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.Common
{
    public class DefaultPortInfos
    {
        /// <summary>
        /// 可配置的端口最大值
        /// </summary>
        public const int MaxPort = 9999;

        /// <summary>
        /// 可配的端口最小值
        /// </summary>
        public const int MinPort = 9000;

        /// <summary>
        /// webApi默认端口号
        /// </summary>
        public const int DefaultWebApi = 9001;

        /// <summary>
        /// UDP搜索端口
        /// </summary>
        public const int UDPFinderPort = 9667;

        /// <summary>
        /// UDP被发现端口
        /// </summary>
        public const int UDPDiscoverPort = 9668;

        /// <summary>
        /// 边缘网关服务端口
        /// </summary>
        public const int TCPGatewayPort = 9668;

        /// <summary>
        /// 日志服务器端口
        /// </summary>
        public const int LogServicePort = 9670;

        /// <summary>
        /// 日志客户端端口
        /// </summary>
        public const int LogClientPort = 9671;

        /// <summary>
        /// 文件传输端口
        /// </summary>
        public const int FileTransferPort = 9673;

        /// <summary>
        /// 网络服务Socket端口号
        /// </summary>
        public const int NetServiceSocketPort = 9674;

        /// <summary>
        /// HMI对外提供Web服务的端口
        /// </summary>
        public const int WebClientPort = 9675;

        /// <summary>
        /// 事件对外提供Socket的端口
        /// </summary>
        public const int EventSocketPort = 7677;

        /// <summary>
        /// OPCUA server接收服务端口
        /// </summary>
        public const int OpcUAServerRecPort = 9678;

        /// <summary>
        /// 日志websocket发布端口
        /// </summary>
        public const int LogWebSocketPublish = 9679;

        /// <summary>
        /// Log服务webapi端口
        /// </summary>
        public const int LogServiceWebApi = 9682;

        /// <summary>
        /// 监听服务端口
        /// </summary>
        public const int MonitorServicePort = 9669;
    }
}